/* ViewpointPanel 样式 */

.viewpoint-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel-header {
  text-align: center;
  margin-bottom: 8px;
}

.panel-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 8px;
}

.panel-subtitle {
  font-size: 14px;
  color: #8c8c8c;
  margin: 0;
}

/* 统计卡片 */
.stats-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.stats-card .ant-statistic-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.stats-card .ant-statistic-content {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

/* 控制面板 */
.control-panel {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.control-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.control-label {
  font-size: 14px;
  font-weight: 500;
  color: #262626;
}

.control-panel .ant-checkbox-wrapper {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.control-panel .ant-checkbox-wrapper:hover {
  border-color: #1890ff;
  background: #f0f7ff;
}

.control-panel .ant-checkbox-wrapper-checked {
  border-color: #1890ff;
  background: #e6f7ff;
}

/* 观点Tabs */
.viewpoint-tabs {
  margin-top: 24px;
}

.viewpoint-tabs .ant-tabs-nav {
  margin-bottom: 24px;
}

.viewpoint-tabs .ant-tabs-tab {
  font-size: 14px;
  font-weight: 500;
}

/* 底部操作 */
.panel-footer {
  display: flex;
  justify-content: center;
  padding: 24px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  border-radius: 8px;
  margin-top: 16px;
}

/* 响应式 */
@media (max-width: 768px) {
  .viewpoint-panel {
    padding: 16px;
    gap: 16px;
  }

  .panel-header h2 {
    font-size: 22px;
  }

  .panel-subtitle {
    font-size: 13px;
  }

  .stats-card .ant-col {
    margin-bottom: 16px;
  }

  .stats-card .ant-statistic-content {
    font-size: 20px;
  }

  .control-panel .ant-checkbox-wrapper {
    padding: 6px 10px;
  }

  .panel-footer {
    padding: 16px;
  }

  .panel-footer .ant-space {
    width: 100%;
  }

  .panel-footer .ant-btn {
    flex: 1;
  }
}
